package com.newtouch.bxzs.business.train.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 考试基本信息详情展示层
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/21</td>
 * <td>lanwei</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lanwei
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
public class ExaminationDetailBO implements Serializable {


  private static final long serialVersionUID = -1187227886957498782L;
  @ApiModelProperty(value = "考试ID")
  private String examinationId;

  @ApiModelProperty(value = "考试名称")
  private String examinationName;

  @ApiModelProperty(value = "考试时长")
  private Integer examinationDuration;

  @ApiModelProperty(value = "考试类型：正式考试、模拟考试")
  private String examinationType;

  @ApiModelProperty(value = "考试试卷ID")
  private String examinationPaperId;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ApiModelProperty(value = "考试开始时间")
  private Date examinationStartTime;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ApiModelProperty(value = "考试结束时间")
  private Date examinationEndTime;

  @ApiModelProperty(value = "考试状态，0：未发布，1：已发布")
  private Integer isEnable;

  @ApiModelProperty(value = "缩略图地址")
  private String attachmentUrl;

}
